body{
    background-image: url(../images/bg.jpg);
    background-size: 0.24rem 0.15rem;
}
html,body{
    height: 100%;
}
select {
      /*Chrome和Firefox里面的边框是不一样的，所以复写了一下*/
      border: solid 1px #000;
    
      /*很关键：将默认的select选择框样式清除*/
      appearance:none;
      -moz-appearance:none;
      -webkit-appearance:none;
    
      /*在选择框的最右侧中间显示小箭头图片*/
      background: url(../images/select_icon.png) no-repeat scroll right transparent;
      background-size: 0.19rem;
      background-position: 1.1rem 50%;

    /*为下拉小箭头留出一点位置，避免被文字覆盖*/
  
    padding-right: 0.26rem;
}


/*清除ie的默认选择框样式清除，隐藏下拉箭头*/
select::-ms-expand { display: none; }
.banner{
    width: 100%;
}
#content{
    padding-top: 0.1rem;
    margin: 0 auto;
    width: 7.01rem;
    padding-bottom: 0.57rem;
    .share{
        position: absolute;
        width: 1.6rem;
        right: 0.1rem;
        top: 4.7rem;
    }
    &>img,.gift-box,.welfare-box{
        width: 100%;
        margin-bottom: 0.35rem;
    }
    .gift-box,.welfare-box{
        padding-bottom: 4.11rem;
        height:0;
        background-size: 100% 100%;
    }
    .gift-box{
        background-image: url(../images/gift-bg.png);
        .gift,.nogift{
            padding-top: 1.03rem;
            overflow: hidden;
            margin: 0 0.3rem;
        }
        .gift-li{
            display: block;
            width: 100%;
            margin-bottom: 0.2rem;
        }
        .nogift{
            padding-top: 1.7rem;
        }
        &.one{
            .gift,.nogift{
                padding-top: 1.23rem;
            }
        }
    }
    .welfare-box{
        position: relative;
        background-image: url(../images/welfare-bg.png);
        padding-bottom: 4.51rem;
        .has-used{
            position: absolute;
            width: 6.77rem;
            top: 0.83rem;
            left: 0.12rem;
            right: 0.12rem;
            bottom: 0.1rem;
            background-color: rgba(0,0,0,0.7);
            border-radius: 0.2rem;
            img{
                margin-left: 1.12rem;
                margin-top: 0.92rem;
                width: 1.3rem;
            }
            .text{
                position: absolute;
                left: 2.98rem;
                top: 1.13rem;
                text-align: center;
                font-size: 0.36rem;
                line-height: 0.43rem;
                color: #FFFFFF;
            }
        }
        .card-group{
            padding-top: 1.11rem;
            overflow: hidden;
            margin: 0 0.54rem;
            .card{
                float: left;
                width: 1.03rem;
                margin-left: 0.17rem;
            }
            .card:first-child{
                margin-left: 0;
            }
        }
        .text{
            font-weight: 600;
            color: #fd2929;
            font-size: 0.3rem;
            text-align: center;
            line-height: 0.75rem;
        }
        .address-btn{
            color: #666666;
            font-size: 0.24rem;
            line-height: 0.26rem;
            overflow: hidden;
            text-align: center;
            margin: 0.16rem auto 0;
            text-decoration: underline;
        }
    }
    
    .ms-btn-block{
        text-align: center;
        margin: 0 auto;
        display: block;
        position: relative;
        color: #FFFFFF;
        width: 4.85rem;
        line-height: 0.8rem;
        background-color: #fd2929;
        font-size: 0.36rem;
        border-radius: 0.1rem;
        img{
            width: 0.4rem;
            position: absolute;
            float: right;
            right: 0.5rem;
            top: 0.22rem;
        }
        &.disable{
            background-color: #b7b6b6;
        }
    }
}
#address{
    position: fixed;
    z-index: 999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.3);
    .address-box{
        .close{
            width: 0.47rem;
            position: absolute;
            top: 0.18rem;
            right: 0.18rem;
        }
        position: absolute;
        top: 2rem;
        left: 50%;
        margin-left: -2.925rem;
        width: 5.95rem;
//      height: 6.83rem;
        color: #222222;
        background-color: #FFFFFF;
        border-radius: 0.4rem;
        .alert-info{
            margin: 0.55rem auto 0.4rem;
            p{
                color: #fd2929;
                font-size: 0.28rem;
                line-height: 1.3;
                text-align: center;
            }
        }
        .input-box{
            padding-left: 0.15rem;
            .row{
                padding: 0.1rem 0;
                line-height: 0.5rem;
                overflow: hidden;
                label{
                    font-size: 0.24rem;
                    width: 0.8rem;
                    text-align: right;
                    display: block;
                    float: left;
                }
                input,select{
                    display: block;
                    float: left;
                    margin-left: 0.2rem;
                    padding-left: 0.2rem;
                    border: 1px solid #222;
                    border-radius: 0.5rem;
                    line-height: 0.5rem;
                    width: 4.5rem;
                }
                select{
                    width: 1.4rem;
                    padding-left: 0.1rem;
                    height: 0.5rem;
                }
            }
        }
        .info-bottom{
            font-size: 0.24rem;
            text-align: center;
            line-height: 0.64rem;
        }
        .sava-address{
            display: block;
            background-color: #fd2929;
            width: 4.8rem;
            margin: 0.1rem auto 0.3rem;
            line-height: 0.95rem;
            font-size: 0.41rem;
            color: #FFFFFF;
            text-align: center;
            border-radius: 0.3rem;
        }
    }
}
